package org.misty.redis.locker;

import lombok.*;

/**
 * @author Misty on 2020-06-01
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class LockerConfig implements ILockerConfig {
    /**
     * 锁超时时间 (ms)
     * 默认 10s
     */
    private Integer expireTime;

    /**
     * 锁等待时间 (ms)
     * 默认 0 永不过期
     */
    private Integer acquireTimeout;
}
